package com.example.serverdemo;

import com.example.serverdemo.netty.server.DeviceCommunicationServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.net.InetSocketAddress;

@SpringBootApplication
public class ServerdemoApplication{
    public static void main(String[] args) {
        SpringApplication.run(ServerdemoApplication.class, args);
        DeviceCommunicationServer server = new DeviceCommunicationServer();
        server.start(new InetSocketAddress("0.0.0.0",7091));
    }
}
